#include <stdio.h>


char *mystrcpy(char *arr1,char *arr2)
{
	int i=0;
	while(arr2[i]!='\0')
	{
		arr1[i]=arr2[i];
		i++;
	}
	
}

int main(int argc, const char *argv[])
{
	char arr1[10];
	char *arr2="nihaonihao";

	mystrcpy(arr1,arr2);
	printf("%s\n",arr1);

	return 0;
}
